package com.topscomm.ywxt;

import com.topscomm.main.TopPmApp;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.annotation.Rollback;
import org.springframework.test.context.junit4.SpringRunner;

@RunWith(SpringRunner.class)
@SpringBootTest(classes = {TopPmApp.class})

public class PmCboAttachment {
    //    private CboAttachmentTypeService cboAttachmentTypeService = (CboAttachmentTypeService) SpringUtil.getBean("cboAttachmentTypeService");
    @Test
    @Rollback(value = false)
    public void test() {
        try {
            cboattachService cboattachService = new cboattachService();
            cboattachService.convertProjectAttchment("D26");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}